﻿<!DOCTYPE html>
<html lang="es">
<head>
    <style type="text/css">
        * { margin: 0; padding: 0 }
        body { line-height: 1; font-size: 75%; font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif; }
        p { text-align: center; margin-top: 30%; }        
    </style>
</head>
<body>
@if (string.IsNullOrWhiteSpace(ViewBag.Latitud) || string.IsNullOrWhiteSpace(ViewBag.Longitud))
{
    <p>La propiedad no se puede ubicar en el mapa.</p>
}
else
{
    <iframe width="550" height="420" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" 
        src="http://maps.google.com/maps?f=d&source=s_d&saddr=@ViewBag.Latitud,@ViewBag.Longitud&daddr=&hl=en&geocode=&mra=dme&mrcr=0&mrsp=0&sz=16&sll=@ViewBag.Latitud,@ViewBag.Longitud&sspn=0.00961,0.013797&ie=UTF8&ll=@ViewBag.Latitud,@ViewBag.Longitud&spn=0.00961,0.013797&output=embed">
    </iframe>
}
</body>
</html>